package com.ruoyi.project.product.lineManage.domain;

import java.util.List;
import java.util.Objects;

public class LineManage {
    private Long typeId;
    private String typeName;
    private String typeRemark;
    private Integer lineManageSort;

    public LineManage() {
    }

    public LineManage(Long typeId, String typeName, String typeRemark, Integer lineManageSort) {
        this.typeId = typeId;
        this.typeName = typeName;
        this.typeRemark = typeRemark;
        this.lineManageSort = lineManageSort;
    }

    @Override
    public String toString() {
        return "LineManage{" +
                "typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", typeRemark='" + typeRemark + '\'' +
                ", lineManageSort=" + lineManageSort +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        LineManage that = (LineManage) o;
        return Objects.equals(typeId, that.typeId) &&
                Objects.equals(typeName, that.typeName) &&
                Objects.equals(typeRemark, that.typeRemark) &&
                Objects.equals(lineManageSort, that.lineManageSort);
    }

    @Override
    public int hashCode() {
        return Objects.hash(typeId, typeName, typeRemark, lineManageSort);
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeRemark() {
        return typeRemark;
    }

    public void setTypeRemark(String typeRemark) {
        this.typeRemark = typeRemark;
    }

    public Integer getLineManageSort() {
        return lineManageSort;
    }

    public void setLineManageSort(Integer lineManageSort) {
        this.lineManageSort = lineManageSort;
    }
}
